﻿using Learn.Infraestrutura.Attr;
using Learn.Infraestrutura.Dto.Request;
using Learn.Infraestrutura.Dto.Request.Org;
using Learn.Infraestrutura.Dto.Response;
using Learn.Infraestrutura.EFCore;
using System;
using System.Collections.Generic;
using System.Text;

namespace Learn.Service.Interface
{
    [Provider_]
    public interface I_Org_Service
    {
        /// <summary>
        /// 获取所有部门
        /// </summary>
        /// <returns></returns>
        Api_Result Get_Dept(Org_Request_Dto dto);
        /// <summary>
        /// 获取所有职务
        /// </summary>
        /// <param name="dto"></param>
        /// <returns></returns>
        Api_Result Get_Duties(Org_Request_Dto dto);
        /// <summary>
        /// 新增职务
        /// </summary>
        /// <param name="dto"></param>
        /// <returns></returns>
        Api_Result Add_Duties(Duties_Request_Dto dto);

        /// <summary>
        /// 获取职务详情
        /// </summary>
        /// <param name="dto"></param>
        /// <returns></returns>
        Api_Result Get_Duties_Details(Duties_Request_Dto dto);
        /// <summary>
        /// 修改职务
        /// </summary>
        /// <param name="dto"></param>
        /// <returns></returns>
        Api_Result Update_Duties(Duties_Request_Dto dto);
        /// <summary>
        /// 删除职务
        /// </summary>
        /// <param name="dto"></param>
        /// <returns></returns>
        Api_Result Delete_Duties(Duties_Request_Dto dto);
    }
}
